<?php
include_once 'opds.php';

if (isset($_GET['a']))
	$a = intval($_GET['a']);

$opds->header();

$opds->open_index();
$opds->index_find_books_of($a, function ($row) {
	global $opds;
	$opds->entry($row);
});

$opds->footer();
